<h1>Add new Free Time</h1>
<p>*indicates required fields</p>
<p>Input Date and Time in a YYYYMMDDHHMM format where HH is in the 24hour format.<br/>
eg. for March 11, 2009 9:30am put 200903110930</p>

<%= form_tag :action => 'save_times', :id => @event.id, :uid=>@user.id %>
	
	<p>Start:<%= datetime_select 'user_time', 'date_begin', {:minute_step => 30, :use_short_month => true, :order => [:month, :day, :year, :hour, :minute], :start_year => 2009, :default => {:hour => 0, :minute => 0}} %>
	End:<%= datetime_select 'user_time', 'date_end', {:minute_step => 30, :use_short_month => true, :order => [:month, :day, :year, :hour, :minute], :start_year => 2009, :default => {:hour => 1, :minute => 0}} %></p>
	<br>
	
	<%= submit_tag "Add Free Time" %>
<%= %>

<p><%= link_to 'Back', {:controller => 'endar_user', :action => 'show', :id => @event.id, :uid=>@user.id} %></p>

